l = [1, 2, 3, 4, 5, 6, 7, 8]

for i in l:
    print(i)

# range(1, 10): 快速构建一个序列
# 打印九九乘法表
for x in range(1, 10):
    for y in range(1, x + 1):
        print(f"{y} * {x} = {x * y}", end="\t")
    print("")
